Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add quorum_listen_on_all_ips option #168

Merged
merged 2 commits into from
Mar 16, 2021

Conversation

Wiston999
Copy link

This PR adds the option quorumListenOnAllIPs to zoo.cfg configuration file. By default, Zookeeper binds to the IP resolved using servers array DNS resolution, in some cases might be 127.0.0.1 or 127.0.1.1 if it uses /etc/hosts, which might not work in some scenarios. Using quorumListenOnAllIPs, zookeeper binds to 0.0.0.0.

The PR also restores the CLASSPATH setting in environment config file in case that systemd is used but it's not being managed by the module itself. This has been tested on a fresh Debian 10 installation and zookeeper version 3.4.13-2 (standard debian 10 package).

@deric deric added the feature label Mar 16, 2021
@deric deric merged commit 4a7b6dc into deric:master Mar 16, 2021
@deric
Copy link
Owner

deric commented Mar 16, 2021

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants